package org.example.server.goods.mapstruct.goods.param;

import org.example.server.goods.entity.GoodsParamEntity;
import org.example.server.goods.repo.doo.GoodsParamDo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper(componentModel = "spring")
public interface ParamConverter {
  /**
   * 转换实例
   */
  ParamConverter INSTANCE = Mappers.getMapper(ParamConverter.class);

  List<GoodsParamDo> toParamDoFromEntity(List<GoodsParamEntity> paramEntities);
}
